//
// Created by chen on 2023/5/14.
//
#pragma once
#include "iostream"

using namespace std;

#ifndef INC_0051EMPLOYEEMANAGEMENT02_WORKER_H
#define INC_0051EMPLOYEEMANAGEMENT02_WORKER_H

#endif //INC_0051EMPLOYEEMANAGEMENT02_WORKER_H

// 职工类
class Worker{
public:
    virtual void showInfo() = 0;

    virtual string getDeptName() = 0;

    int m_id;
    string m_name;
    int m_deptId;     // 职工所在部门编号  老板=1，经理=2，普通雇员=3
};
